export default [
  {
    path: '/topic',
    name: 'topic',
    meta: {
      keepAlive: true,
      fullscreen: true
    },
    component: resolve => require(['./index'], component => {
      resolve(component.default)
    })
  },
  {
    path: '/TopicDetails/:id',
    name: 'TopicDetails',
    meta: {
      keepAlive: true,
      fullscreen: true
    },
    component: resolve => require(['./TopicDetails'], component => {
      resolve(component.default)
    })
  },
  {
    path: '/AddTopic/:id',
    name: 'AddTopic',
    meta: {
      fullscreen: true
    },
    component: resolve => require(['./AddTopic'], component => {
      resolve(component.default)
    })
  },
  {
    path: '/EditTopic/:id',
    name: 'EditTopic',
    meta: {
      keepAlive: true,
      fullscreen: true
    },
    component: resolve => require(['./EditTopic'], component => {
      resolve(component.default)
    })
  },
  {
    path: '/addTopicImg',
    name: 'addTopicImg',
    meta: {
      fullscreen: true
    },
    component: resolve => require(['./addTopicImg'], component => {
      resolve(component.default)
    })
  },
  {
    path: '/addTopicProduct',
    name: 'addTopicProduct',
    meta: {
      fullscreen: true
    },
    component: resolve => require(['./addTopicProduct'], component => {
      resolve(component.default)
    })
  }
]
